package com.tf_cut.backend.request;

import java.util.UUID;

import javax.xml.bind.annotation.XmlElement;

import com.tf_cut.backend.util.MyConfig;
import com.tf_cut.backend.util.Util;

public class ReceiptHead {
	/**
	 * API接口版本
	 */
	@XmlElement(name = "Version")
	private String Version = "1.0.0";
	
	@XmlElement(name = "AppId")
	private String AppId =MyConfig.appId;
	
	@XmlElement(name = "Function")
	private String Function ;
	
	@XmlElement(name = "reqTime")
	private String reqTime = Util.getStringNow();
	
	@XmlElement(name = "reqTimeZone")
	private String reqTimeZone="UTC+8";
	
	@XmlElement(name = "ReqMsgId")
	private String ReqMsgId =UUID.randomUUID().toString().replace("-", "");
	
	@XmlElement(name = "InputCharset")
	private String InputCharset = "UTF-8";
	
	@XmlElement(name = "reserve")
	private String Reserve = "";
	
	@XmlElement(name = "reserve")
	private String SignType = "RSA";

	public void setVersion(String version) {
		Version = version;
	}

	public void setAppId(String AppId) {
		AppId = AppId;
	}

	public void setFunction(String function) {
		Function = function;
	}

	public void setReqTime(String reqTime) {
		this.reqTime = reqTime;
	}

	public void setReqTimeZone(String reqTimeZone) {
		this.reqTimeZone = reqTimeZone;
	}

	public void setReqMsgId(String reqMsgId) {
		ReqMsgId = reqMsgId;
	}

	public void setInputCharset(String inputCharset) {
		InputCharset = inputCharset;
	}

	public void setReserve(String reserve) {
		Reserve = reserve;
	}

	public void setSignType(String signType) {
		SignType = signType;
	}


}
